﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Teacher : Class2
    {
        public string Title { get; set; }
        public string Wageno { get; set; }
        public Teacher(string ID, string Name, char Sex, string CardId, string Tel) : base(ID, Name, Sex, CardId, Tel)
        {
            Title = Title;
            Wageno = Wageno;
        }
        public void Show()
        {
            base.Show();
            Console.WriteLine("职称{0},工资号{1},", Title, Wageno);
        }
    }
}
